# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-sphinx-theme-quark
_pkgname=quark-sphinx-theme
pkgver=0.5.1
pkgrel=2
pkgdesc="A Sphinx theme for Qt toolkit’s QTextBrowser"
url="https://gitlab.com/fkrull/quark-sphinx-theme"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx"
makedepends="py3-setuptools"
checkdepends="py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="505c285f661c50567f79af644ba577eb636c1502ff265a612693d514120a0e572540ff277c08b9d1de0a38d48f6d3f804996a8dd1cbf928faf5dcfcb8dc875a5  quark-sphinx-theme-0.5.1.tar.bz2"
